<%-- 
    Document   : login
    Created on : 25/09/2010, 12:20:25 PM
    Author     : scott
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>SwinBank - Login</title>
    </head>
    <body>
        <div id="message" style="color: red;"><%= (session.getAttribute("loginMessage") != null) ? session.getAttribute("loginMessage") : "" %></div>
        <h1>SwinBank Login</h1>
        <hr />
        <p>Please login using the form below.</p>
        <form action="processLogin" method="post">
            Username: <input type="text" name="username" /><br>
            Password: <input type="password" name="password" /><br>
            <input type="submit" value="Login" /><input type="reset" value="Reset" />
        </form>
    </body>
</html>
